﻿Imports System.Configuration

Namespace Connection

    ''' <summary>
    ''' アセンブリ要素
    ''' </summary>
    ''' <remarks></remarks>
    Public Class AssemblyElement
        Inherits ConfigurationElement

        ''' <summary>
        ''' アセンブリのパス
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        <ConfigurationProperty("path", IsRequired:=True)> _
        Public Property Path() As String
            Get
                Return DirectCast(Me("path"), String)
            End Get
            Set(ByVal value As String)
                Me("path") = value
            End Set
        End Property

        ''' <summary>
        ''' アセンブリ内にある、IConnector実装クラスの型名
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        <ConfigurationProperty("type", IsRequired:=True)> _
        Public Property TypeName() As String
            Get
                Return DirectCast(Me("type"), String)
            End Get
            Set(ByVal value As String)
                Me("type") = value
            End Set
        End Property
    End Class

End Namespace


